home *** CD-ROM | disk | FTP | other *** search
- on DoDownPage
- global gTweeningPagePropertyList
- if (the name of the member of sprite the clickOn contains "Blank") = 0 then
- doButton(gTweeningPagePropertyList)
- if the result = 1 then
- set pageSprite to the clickOn - 2
- puppetSprite(pageSprite, 1)
- set the member of sprite pageSprite to the number of the member of sprite pageSprite + 1
- set pageMemberName to the name of the member of sprite pageSprite
- if (pageMemberName contains "Last") and (pageMemberName contains "Page") then
- puppetSprite(the clickOn, 1)
- set the member of sprite the clickOn to getaProp(gTweeningPagePropertyList, the clickOn) - 1
- end if
- puppetSprite(the clickOn - 1, 1)
- set the member of sprite (the clickOn - 1) to getaProp(gTweeningPagePropertyList, the clickOn - 1)
- end if
- end if
- end
-
- on DoUpPage
- global gTweeningPagePropertyList
- if (the name of the member of sprite the clickOn contains "Blank") = 0 then
- doButton(gTweeningPagePropertyList)
- puppetSprite(the clickOn, 1)
- if the result = 1 then
- set pageSprite to the clickOn - 1
- puppetSprite(pageSprite, 1)
- set the member of sprite pageSprite to the number of the member of sprite pageSprite - 1
- set pageMemberName to the name of the member of sprite pageSprite
- if (pageMemberName contains "First") and (pageMemberName contains "Page") then
- puppetSprite(the clickOn, 1)
- set the member of sprite the clickOn to getaProp(gTweeningPagePropertyList, the clickOn) - 1
- end if
- puppetSprite(the clickOn + 1, 1)
- set the member of sprite (the clickOn + 1) to getaProp(gTweeningPagePropertyList, the clickOn + 1)
- end if
- end if
- end
-